﻿using System;
using System.Web;

namespace Bingosoft.Modules.SecurityConsole.Common.Helper
{
    public class RequestHelper
    {
        public static String GetContextPath(HttpRequest Request)
        {
            return Request.Url.Scheme + "://" + Request.Url.Host + ":" + Request.Url.Port + ("/".Equals(Request.ApplicationPath) ? "" : Request.ApplicationPath);
        }
    }
}
